package com.shr.xsunmvc.route;

import java.lang.reflect.Method;

/**
 * class Route
 * @author sun haoran
 *
 */
public class Route {
	/**
	 * 路由的path
	 */
	private String path ;
	
	/**
	 * 执行路由的方法
	 */
	private Method method;
	
	/**
	 * Route对应的 controller
	 */
	private Object controller ;

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Method getMethod() {
		return method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}

	public Object getController() {
		return controller;
	}

	public void setController(Object controller) {
		this.controller = controller;
	}
	
	
}
